<?php
$to      = 'lenhan10th@gmail';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: ltnhan2009@gmail.com' . "\r\n" .
    'Reply-To: ltnhan2009@gmail.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

if(mail($to, $subject, $message, $headers))
    echo "Da gui";
else
    echo "Loi";
?>